package com.zz.inventory.mapper;

import java.util.List;
import com.zz.inventory.domain.FranchisePayments;

/**
 * 支付记录Mapper接口
 * 
 * @author zz
 * @date 2025-07-03
 */
public interface FranchisePaymentsMapper 
{
    /**
     * 查询支付记录
     * 
     * @param paymentId 支付记录主键
     * @return 支付记录
     */
    public FranchisePayments selectFranchisePaymentsByPaymentId(Long paymentId);

    /**
     * 查询支付记录列表
     * 
     * @param franchisePayments 支付记录
     * @return 支付记录集合
     */
    public List<FranchisePayments> selectFranchisePaymentsList(FranchisePayments franchisePayments);

    /**
     * 新增支付记录
     * 
     * @param franchisePayments 支付记录
     * @return 结果
     */
    public int insertFranchisePayments(FranchisePayments franchisePayments);

    /**
     * 修改支付记录
     * 
     * @param franchisePayments 支付记录
     * @return 结果
     */
    public int updateFranchisePayments(FranchisePayments franchisePayments);

    /**
     * 删除支付记录
     * 
     * @param paymentId 支付记录主键
     * @return 结果
     */
    public int deleteFranchisePaymentsByPaymentId(Long paymentId);

    /**
     * 批量删除支付记录
     * 
     * @param paymentIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFranchisePaymentsByPaymentIds(Long[] paymentIds);
}
